@import "../../../../sass/base.scss";
:host  ::ng-deep .ant-table-placeholder{
  display: none;
}
.self-check-list {
  height: 100%;
  width: 100%;
  padding: 32px;
}
.self-check-list-head {
  height: 70px;
  line-height: 50px;
  font-size: 14px;
  overflow: hidden;
  .head-left {
    float: left;
  }
  .head-right {
    float: right;
  }
}
.self-check-list-body {
  height: calc(100% - 70px);
  width: 100%;
  background-color: white;
  box-shadow: 0px 0px 8px #ddd;
  overflow: hidden;
  .body {
    height: calc(100% - 50px);
    width: 100%;
  }
  .pager {
    text-align: center;
  }
}
.self-check-modal {
  .self-check-title {
    overflow: hidden;
    font-size: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    .self-check-status-success {
      color: #53cc0b;
    }
    .self-check-status-error {
      color: red;
    }
  }
  .self-check-title-no {
    float: left;
    font-weight: bold;
  }
  .self-check-status {
    float: right;
    font-weight: normal;
  }
  .self-check-detail {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #aaa;
    .self-check-detail-item {
      margin-bottom: 5px;
    }
  }
  .self-check {
    overflow: hidden;
    .self-check-index {
      background-color: #40a9ff;
      border-radius: 10px;
      width: 20px;
      height: 20px;
      text-align: center;
      line-height: 20px;
      color: #fff;
      font-size: 12px;
      font-weight: 400;
      margin-right: 5px;
      float: left;
    }
    .self-check-info {
      float: left;
      width: calc(100% - 30px);
      position: relative;
      .self-check-bottom {
        color: #aaa;
        .self-check-item {
          margin-bottom: 5px;
        }
      }
      .self-check-top {
        overflow: hidden;
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: bold;
        .self-check-status-img {
          width: 50px;
          height: 50px;
          background-position: 0 0;
          background-size: 100% 100%;
          background-repeat: no-repeat;
          position: absolute;
          top: 0;
          right: 0;
        }
        .self-check-status-success-img {
          background-image: url("../../../../../assets/images/project/check_tip_pass@2x.png");
        }
        .self-check-status-error-img {
          background-image: url("../../../../../assets/images/project/check_tip_fail@2x.png");
        }
        &:first-child {
          padding-top: 0;
        }
      }
    }
  }
}

.hidden-row {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;

  &.long {
    max-width: 150px;
  }

  &.longer {
    max-width: 180px;
  }

  &.longest {
    max-width: 210px;
  }

  &.auto {
    max-width: auto;
  }
}
.img {
  transition: all 0.3s;
  box-shadow: 0 0 3px #ccc;
  &:hover {
    box-shadow: 0 0 8px rgba(41, 4, 4, 0.26);
  }
}
.video {
  transition: all 0.3s;
  box-shadow: 0 0 3px #ccc;
  &:hover {
    box-shadow: 0 0 8px rgba(41, 4, 4, 0.26);
  }
}
